
<div class="forum-container">

    <ul class="thumbnails">

        <li class="thumbnail span4">

            <div class="course-threads">

                <g:form  action="validate">

                    <h2 class="form-signin-heading"><g:message code="forum.signin.header" /></h2>

                    <input value="" name="email" type="text" class="input-block-level" placeholder="<g:message code="forum.signin.placeholder.email" />">
                    <input value="" name="password" type="password" class="input-block-level" placeholder="<g:message code="forum.signin.placeholder.password" />">
                    <button class="btn btn-primary" type="submit"><g:message code="forum.signin.submit" /></button>

                </g:form>


                <g:if test="${flash.message}">

                    <div style="margin: 10px 0px 0px 00px" class="alert alert-error">
                        <strong><g:message code="forum.flash.snap" /></strong> ${flash.message}.
                    </div>

                </g:if>

            </div>

        </li>

        <li class="thumbnail span7">

            <div class="span6">

                <h2><g:message code="forum.samples.users" /></h2>

                <table id="forum-docs-table" class="table table-hover">

                    <thead>

                    <tr>
                        <th><g:message code="forum.user.email" /></th>
                        <th><g:message code="forum.user.password" /></th>
                        <th><g:message code="forum.user.role" /></th>
                    </tr>

                    </thead>

                    <tbody>

                    <tr>
                        <td>admin@forum-grails.ch</td>
                        <td>admin1234</td>
                        <td><g:message code="forum.roles.admin" /></td>
                    </tr>

                    <tr>
                        <td>user1@supsi.ch</td>
                        <td>user1</td>
                        <td><g:message code="forum.roles.normal" /></td>
                    </tr>

                    </tbody>

                </table>

            </div>

        </li>

    </ul>

</div>

